//
//  UILble+Extension.swift
//  微博项目
//
//  Created by 原晓桢 on 15/11/5.
//  Copyright © 2015年 itcast.cn. All rights reserved.
//

import UIKit

extension UILabel {
    
    convenience init(title: String,color: UIColor = UIColor.darkGrayColor(),  fontSize: CGFloat = 14) {
        self.init()
        
        text = title
        textColor = color
        font = UIFont.systemFontOfSize(fontSize)
        numberOfLines = 0
        textAlignment = NSTextAlignment.Center
        
    }
}
